" Options
set adblocker=update
set closablepinnedtabs
set downloadmethod=confirm
set noincsearch
set mintabwidth=250
set redirecttohttp
set restoretabs=pinned
set searchwords=
set searchwords+=google~https://www.google.com/search?q=%s
set searchwords+="googlelucky~https://www.google.com/search?btnI=I'm+Feeling+Lucky&q=%s"
set searchwords+=scholar~https://scholar.google.com/scholar?q=%s
set searchwords+=googleuk~https://www.google.co.uk/search?q=%s
set searchwords+=bing~https://www.bing.com/search?q=%s
set searchwords+=duckduckgo~https://duckduckgo.com/?q=%s
set searchwords+=yahoo~https://search.yahoo.com/search?p=%s
set searchwords+=twitter~https://twitter.com/search?q=%s
set searchwords+=wikipedia~https://en.wikipedia.org/wiki/Special:Search/%s
set searchwords+=youtube~https://www.youtube.com/results?search_query=%s
set searchwords+=amazon~https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias=aps&field-keywords=%s
set searchwords+=amazonuk~https://www.amazon.co.uk/s/ref=nb_sb_noss?url=search-alias=aps&field-keywords=%s
set searchwords+=startpage~https://startpage.com/do/search?language=english&cat=web&query=%s
set searchwords+=github~https://github.com/search?utf8=✓&q=%s
set searchwords+=searx~https://searx.me/?category_general=on&q=%s
set searchwords+=cnrtl~http://www.cnrtl.fr/lexicographie/%s
set searchwords+=osm~https://www.openstreetmap.org/search?query=%s
set searchwords+=mdn~https://developer.mozilla.org/en-US/search?q=%s
set searchwords+=gentoo_wiki~https://wiki.gentoo.org/index.php?title=Special:Search&profile=default&fulltext=Search&search=%s
set searchwords+=qwant~https://www.qwant.com/?q=%s
set noshowcmd
set tabreopenposition=previous
set useragent=%firefox

" Mappings
nmap o <toExploreMode>
nmap b <toCommandMode>buffer<Space>
nmap g0 <:buffer 0>
nmap g^ <:buffer 0>
nmap g$ <:buffer -1>
nmap J <previousTab>
nmap K <nextTab>
nmap >> <moveTabForward>
nmap <lt><lt> <moveTabBackward>
nmap O <toExploreMode><End>
nmap gx0 <:lclose>
nmap gx$ <:rclose>
nmap x <stopLoadingPage>
nunmap [
nunmap ]
nmap [[ <previousPage>
nmap ]] <nextPage>
nmap [c <decreasePageNumber>
nmap ]c <increasePageNumber>
nmap zz <zoomReset>
nmap zi <zoomIn>
nmap zo <zoomOut>
nmap zm 5<zoomIn>
nmap zr 5<zoomOut>
nmap zM 5<zoomIn>
nmap zR 5<zoomOut>
nmap zI 7<zoomIn>
nmap zO 7<zoomOut>
" Tridactyl easter egg
nmap <A-S-Up><A-S-Up><A-S-Down><A-S-Down><A-S-Left><A-S-Right><A-S-Left><A-S-Right>ba <:open https://www.youtube.com/watch?v=M3iOROuTuMA>

" vim: ft=vim
